package com.sec.android.app.myfiles.module.local.category.audio;

import android.provider.MediaStore;

import com.sec.android.app.myfiles.module.local.category.CategoryDbTableInfo;
import com.sec.android.app.myfiles.provider.DbTableInfo;

/**
 * Created by jaebae on 2016-04-29.
 */
public class AudioDbTableInfo extends CategoryDbTableInfo {

    private static AudioDbTableInfo mInstance = null;

    public static DbTableInfo getInstance() {
        if (mInstance == null) {
            mInstance = new AudioDbTableInfo();
        }
        return mInstance;
    }

    private AudioDbTableInfo() {
        super();

        mTableColumn.add(new DB_Column(COLUMN_ID.ARTIST, MediaStore.Audio.AlbumColumns.ARTIST, "text"));
        mTableColumn.add(new DB_Column(COLUMN_ID.ALBUM, MediaStore.Audio.AlbumColumns.ALBUM, "integer"));

        removeColumnInfo(COLUMN_ID.FILE_TYPE);
        removeColumnInfo(COLUMN_ID.FORMAT);
        removeColumnInfo(COLUMN_ID.SEF_FILE_TYPE);
        removeColumnInfo(COLUMN_ID.IS_360_VIDEO);
        removeColumnInfo(COLUMN_ID.WIDTH);
        removeColumnInfo(COLUMN_ID.HEIGHT);
        removeColumnInfo(COLUMN_ID.DURATION);
        removeColumnInfo(COLUMN_ID.RESUME_POS);
        removeColumnInfo(COLUMN_ID.IS_DIRECTORY);

    }
}
